home *** CD-ROM | disk | FTP | other *** search
- on namechange
- global gsMovieDir
- set holder1 to gsMovieDir & "dummy" & "1" & ".mov"
- set holder2 to gsMovieDir & "dummy" & "2" & ".mov"
- set holder3 to gsMovieDir & "dummy" & "3" & ".mov"
- if the fileName of cast "tempmovie" <> holder1 then
- set the fileName of cast "tempmovie" to holder1
- else
- nothing()
- end if
- if the fileName of cast "tempmovie2" <> holder2 then
- set the fileName of cast "tempmovie2" to holder2
- else
- nothing()
- end if
- if the fileName of cast "tempmovie3" <> holder3 then
- set the fileName of cast "tempmovie3" to holder3
- else
- nothing()
- end if
- end
-
- on namechange2
- global gsMovieDir
- set holder1 to gsMovieDir & "dummy" & "4" & ".mov"
- set holder2 to gsMovieDir & "dummy" & "5" & ".mov"
- if the fileName of cast "ShotMov1" <> holder1 then
- set the fileName of cast "ShotMov1" to holder1
- else
- nothing()
- end if
- if the fileName of cast "ShotMov2" <> holder2 then
- set the fileName of cast "ShotMov2" to holder2
- else
- nothing()
- end if
- end
-